﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CalemShop
{
    public class InvoiceRowEntity
    {
        public int invoiceId;

        public int autoKey;

        public int total;

        public int amount;

        public int price;

        public string itemName;

        public string itemId;

        public decimal ck;

        public InvoiceRowEntity()
        {
        }

        public InvoiceRowEntity(int invoiceId, string itemId, string itemName, int amount, int price)
        {
            this.invoiceId = invoiceId;
            this.itemName = itemName;
            this.amount = amount;
            this.price = price;
            this.itemId = itemId;
            this.total = this.price * this.amount;
        }
    }
}
